package iface.aplicativo.negocio.entidade;

import iface.arquitetura.entidade.Entidade;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "combustivel")
public class Combustivel implements Entidade {

	private static final long serialVersionUID = 2373586767063323982L;

	@Id
	@Column(name = "id_combustivel")
	private Long id;
	@Column(name = "nm_combustivel")
	private String nmCombustivel;

	public Serializable getIdentificador() {
		return getId();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNmCombustivel() {
		return nmCombustivel;
	}

	public void setNmCombustivel(String nmCombustivel) {
		this.nmCombustivel = nmCombustivel;
	}

}
